<%= link_confirm_busy(type == 'button' ? icon_button('exchange', 'Replace', 'success') : icon('exchange', 'Replace'),
                      :url     => state_assembly_operations_instance_path(@assembly, @instance, :params => {:state => 'replace'}),
                      :body    => "This will mark the component instance '#{@instance.ciName}' for replacement in OneOps. Your cloud resources will not be affected immediately. To completely execute the replacement you will need to force a deployment.".html_safe,
                      :confirm => 'Replace?',
                      :method  => :put) %>
